#!/usr/bin/env python 
# encoding: utf-8 
# @Author: Jacqueline
# @file: random_name.py
# @time: 2021/2/20 11:41
from random import random


def random_name(self):
     """随机生成用户名"""
     print("---name---")
     while True:
         s1 = random.choice(["赵","钱","孙","李","周","吴"])
         number = random.randint(1,9999)
         name = s1 + str(number)
         print(name)

     pass

if __name__ == '__main__':
    name = random_name()